package com.biz.primus.ms.commodity.dao.po;


import com.biz.primus.ms.base.jpa.po.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created by jiangnan on 2017/6/2.
 */
@Data
@Entity
@Table(name = "pro_search_keyword")
public class Keyword extends BaseEntity implements Serializable {


    /**
     * 展示名称
     */
    @Column(length = 50, nullable = false)
    private String displayName;

    /**
     * 搜索名称
     */
    @Column
    private String searchName;

    /**
     * 显示顺序
     */
    @Column(unique = true)
    private int idx;

    /**
     * 搜索关键字标识符
     */
    //TODO enumlize
    @Column
    private String identityFlag;
    /**
     * 备注
     */
    @Column
    private String note;

}
